package com.adms.domain;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface GridGridUserMapper {
	
//	
	void deleteByGridId(Integer gridId);
	void insertBatch(List<GridGridUser> gridGridUsers);
	void updateBatch(@Param("gridId") Integer gridId,@Param("gridGridUsers") List<GridGridUser> gridGridUsers);
//	
	
    long countByExample(GridGridUserExample example);

    int deleteByExample(GridGridUserExample example);

    int deleteByPrimaryKey(@Param("gridId") Integer gridId, @Param("gridUserId") Integer gridUserId);

    int insert(GridGridUser record);

    int insertSelective(GridGridUser record);

    List<GridGridUser> selectByExample(GridGridUserExample example);

    GridGridUser selectByPrimaryKey(@Param("gridId") Integer gridId, @Param("gridUserId") Integer gridUserId);

    int updateByExampleSelective(@Param("record") GridGridUser record, @Param("example") GridGridUserExample example);

    int updateByExample(@Param("record") GridGridUser record, @Param("example") GridGridUserExample example);

    int updateByPrimaryKeySelective(GridGridUser record);

    int updateByPrimaryKey(GridGridUser record);
}